#include"BSTree.h"
#include<string>

int main()
{
	int arr[4] = { 2,3,4,1};
	BSTree<int> t;
	for (auto e : arr)
	{
		t.Insert(e);
	}
	t.Inorder();
	//int target = 3;
	//if (t.Find(target))
	//{
	//	cout << "yes" << endl;
	//}
	t.Erase(1);
	t.Inorder();
	return 0;
}